All Questions
Tagged with sqlite3-pythondiscord.py
7 questions
-2votes
0answers
37views
discord.py | How to import channel id from database to send logs from bot
I made a database on SQLite3, there is guild ID and channel ID which one choosed from user to send logs here. I want the user to be able to independently select a channel to send all logs to and ...
1vote
0answers
316views
How to fix: sqlite3.ProgrammingError: parameters are of unsupported type?
I am trying to create a ticket system, where it pulls the guild_id from SQlite3, but it does not work I have already tried changing it so that its is defined as different things, but it does not work. ...
1vote
1answer
59views
Attaching file in embed from sqlite3 database
I would like to send an embed with a picture, originating from a sqlite3 database. I am correctly fetching the file but it won't display it in the embed. def init_embed(title, description, colour, ...
0votes
0answers
109views
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: OperationalError: near "<": syntax error
I am running arch linux with GNOME desktop. I have a virtual enviroment in python named venv. I have installed sqlite3 and discord.py. I am using cogs for commands. I wanted to fetch tokens from my ...
0votes
1answer
296views
Use placeholder for table name in python sqlite3
I was wondering if there was a way to use the '?' to create a table with a different name every time in a function. Here's my code: @bot.tree.command(name='create', description='Crea un nuovo torneo') ...
0votes
1answer
354views
How do I create a discord.py bot that interacts with Sqlite3?
I am creating a License Registration Discord.py bot, where I have 2 commands, /register to register your vehicle and /plate for police to look them up. I have created the register command, but I am ...
-1votes
1answer
72views
I wanna make eco bot on discord.py
CODE import discord from discord.ext import commands import sqlite3 from config import settings bot = commands.Bot(command_prefix = settings['prefix'], intents = discord.Intents.all()) bot....